package com.yang.entity.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "用户信息DTO类")
public class UserDTO {

    @ApiModelProperty(value = "主键id")
    private String id;

    @ApiModelProperty(value = "主键id集合")
    private List<String> idList;

    @ApiModelProperty(value = "姓名")
    private String name;

    @ApiModelProperty(value = "性别: 0-女, 1-男")
    private Integer gender;

    @ApiModelProperty(value = "年龄")
    private Integer age;

    @ApiModelProperty(value = "住址")
    private String address;

    @ApiModelProperty(value = "手机号码")
    private String phoneNumber;

    @ApiModelProperty(value = "删除标志, 0-未删除, 1-已删除")
    private Integer isDeleted;

}
